//@Author: wulinlin
//@Description:
//@File:  loginForm
//@Version: 1.0.0
//@Date: 2023/03/09 14:24

package form

// PwdLoginForm
// @Description: 用户账号密码登录
type PwdLoginForm struct {
	UserName    string `form:"username" json:"username" binding:"required"`
	Password    string `form:"password" json:"password" binding:"required,min=6,max=30"`
	CaptchaCode string `form:"captcha_code" json:"captcha_code" binding:"required,min=3,max=6"`
	CaptchaId   string `form:"captcha_id" json:"captcha_id" binding:"required,min=3,max=200"`
	LoginType   string `form:"login_type" json:"login_type" binding:"required,oneof=cms wechat"`
}
